import 'package:flutter/material.dart';

class Cons {
  ///底栏图标
  static const Map<String, IconData> bottomNavMap = {
    '访客': Icons.login,
    '请假':Icons.date_range_outlined,
    '闸门': Icons.sensor_door_outlined,
    '监控': Icons.monitor,
    // '人脸识别': Icons.face_retouching_natural,
    '我的': Icons.person,
  };

  ///民族
  static const List<String> nationality = [
    "蒙古",
    "回",
    "藏",
    "苗",
    "维吾尔",
    "彝",
    "壮",
    "布依",
    "白",
    "朝鲜",
    "侗",
    "哈尼",
    "哈萨克",
    "满",
    "土家",
    "瑶",
    "达斡尔",
    "东乡",
    "高山",
    "景颇",
    "柯尔克孜",
    "拉祜",
    "纳西",
    "畲",
    "傣",
    "黎",
    "傈僳",
    "仫佬",
    "羌",
    "水",
    "土",
    "佤",
    "阿昌",
    "布朗",
    "毛南",
    "普米",
    "撒拉",
    "塔吉克",
    "锡伯",
    "仡佬",
    "保安",
    "德昂",
    "俄罗斯",
    "鄂温克",
    "京",
    "怒",
    "乌孜别克",
    "裕固",
    "独龙",
    "鄂伦春",
    "赫哲",
    "基诺",
    "珞巴",
    "门巴",
    "塔塔尔",
    "汉",
    "其他"
  ];

  ///证件类型
  static const List<String> zhengJianLeiXing = [
    "身份证",
    "护照",
    "港澳通行证",
    "驾驶证",
    "居住证",
    "暂住证",
    "其他"
  ];

  ///访客事由
  static const List<String> visitMatters = [
    "快递",
    "外卖",
    "面试",
    "洽谈",
    "学习",
    "考察",
    "探亲",
    "员工来访",
    "出差",
    "其他"
  ];

  ///被访部门
  static const List<String> departments = [
    "教务处",
    "后勤部",
    "工程部",
    "总务处",
    "保卫室",
    "招生处",
    "开发部",
    "市场部",
    "销售部",
    "行政部",
    "无",
    "其他"
  ];
}

class Strings {
  static const String visitorInformation = "访客信息";

  static const String visitName = "访客姓名";

  static const String gender = "性        别";

  static const String nationality = "民        族";

  static const String dateOfBirth = "出生日期";

  static const String typeOfCertificate = "证件类型";

  static const String idNumber = "证件号码";

  static const String telephoneNum = "联系电话";

  static const String visitorAddress = "访客住址";

  static const String visitorUnit = "访客单位";

  static const String interviewee = "被  访  人";

  static const String departmentInterviewed = "被访部门";

  static const String visitReason = "访问事由";

  static const String visitMatter = "来访事项";

  static const String remarks = "备        注";

  static const String registrationStatus = "登记情况";

  static const String whatToBring = "携带物品";

  static const String licensePlateNumber = "车牌号码";

  static const String nothing = "无";

  static const String registrationPoint = "登  记  点";

  static const String numberOfAccompanyingVisitors = "随行访客";

  static const String registrationDate = "登记日期";

  static const String checkInTime = "登记时间";

  ///与android平台建立通道标识 用于蓝牙开发
  static const String channel = "samples.flutter.io/bluetooth";


  static const String sp_key_registrationPoint = "registrationPoint";

  static const String sp_defaultValue_registrationPoint = "门卫";

  //TODO 字符串都写到这里
  static const String male = "男";
  static const String female = "女";
  static const String visit_reason = "来访事由";
  static const String visitor_registration = "访客登记";


}

class Dimension {
  static const double fontSize18 = 18.0;

  ///width percent
  static const double wp200 = 200 / 1920;
  static const double wp80 = 80 / 1920;
  static const double wp180 = 180 / 1920;
  static const double wp260 = 260 / 1920;
  static const double wp800 = 800 / 1920;
  static const double wp160 = 160 / 1920;
  static const double hp100 = 100 / 1032;
  static const double hp50 = 50 / 1032;
}
